package cn.iocoder.yudao.module.system.controller.admin.qnaApplication.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 需求申请分页 Request VO")
@Data
public class QnaApplicationPageReqVO extends PageParam {

    @Schema(description = "申请标题")
    private String applicationTitle;

    @Schema(description = "申请原因", example = "不对")
    private String applicationReason;

    @Schema(description = "应用场景")
    private String applicationScenario;

    @Schema(description = "使用时间起始")
    private LocalDateTime useTimeStart;

    @Schema(description = "使用时间结束")
    private LocalDateTime useTimeEnd;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "联系地址")
    private String contactAddress;

    @Schema(description = "服务范围")
    private String serviceScope;

    @Schema(description = "预期成效")
    private String expectedEffect;

    @Schema(description = "系统名称", example = "张三")
    private String systemName;

    @Schema(description = "部署地点")
    private String deploymentLocation;

    @Schema(description = "系统IP")
    private String systemIp;

    @Schema(description = "系统URL", example = "https://www.iocoder.cn")
    private String systemUrl;

    @Schema(description = "等级保护备案号")
    private String levelProtectionCode;

    @Schema(description = "等保级别")
    private String levelProtectionLevel;

    @Schema(description = "回复内容")
    private String replyContent;

    @Schema(description = "回复时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] replyTime;

    @Schema(description = "状态：未回复、已回复", example = "2")
    private String status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "创建者")
    private String createId;

}